<include file="Public:header" />
<div class="headbar">
	<div class="position"><span>商品</span><span>></span><span>规格管理</span><span>></span><span>规格图库</span></div>
	<div class="operating">
		<a href="javascript:void(0)" onclick="selectAll('id[]');"><button class="operating_btn" type="button"><span class="sel_all">全选</span></button></a>
		<a href="javascript:void(0)" onclick="confirm('确定删除么？','formSubmit(\'specFrom\')');"><button class="operating_btn" type="button"><span class="delete">批量删除</span></button></a>
	</div>
</div>
<div class="content">
	<form action="{:U('Goods/spec_photo_del')}" method='post' name="specFrom">
		<table class="list_table" cellpadding="0" cellspacing="0">
			<colgroup>
				<col width="40px" />
				<col width="150px" />
				<col width="75px" />
				<col width="300px"/>
				<col width="130px" />
			</colgroup>

			<thead>
				<tr>
					<th>选择</th>
					<th>图片名称</th>
					<th>图片</th>
					<th>图片路径</th>
					<th>创建时间</th>
				</tr>
			</thead>

			<tbody>
				<foreach name='spec_photo' item='item' key='key'>
				<tr>
					<td><input type="checkbox" name="id[]" value="{$item['id']}" /></td>
					<td>{$item['name']}</td>
					<td><img class="spec_photo" src="__ROOT__/{$item[address]}" /></td>
					<td>{$item['address']}</td>
					<td>{$item['create_time']}</td>
				</tr>
                                </foreach>
			</tbody>
		</table>
	</form>
</div>
{$page}
<include file="Public:footer" />